HighContrast: Fix selection styling in icon views
authorMatthias Clasen <mclasen@redhat.com>
Sat, 14 Nov 2015 23:35:03 +0000 (18:35 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 14 Nov 2015 23:35:03 +0000 (18:35 -0500)
This makes selected items in icon view show up again.

gtk/theme/HighContrast/_common.scss
gtk/theme/HighContrast/gtk.css

index f522b168a0fb4e54b9fe38b976cb55e47191ea21..fd6e91c06edcf1d03d03250f3ee079d041407fac 100644 (file)
@@ -120,6 +120,19 @@ textview text,
   }
 }
 
+iconview {
+  color: $fg_color;
+  background-color: $base_color;
+  &:backdrop {
+    color: $backdrop_fg_color;
+    background-color: $backdrop_base_color;
+  }
+  &:selected,
+  &:selected:focus {
+    @extend %selected_items;
+  }
+}
+
 .rubberband,
 rubberband {
   border: 1px solid $selected_bg_color;
index 7e443233efdaea298102b27faf1b51192593b265..a7e0a761abf38d378467e9cbab056698367a78a9 100644 (file)
@@ -106,6 +106,13 @@ textview text,
     color: #000;
     background-color: #fff; }
 
+iconview {
+  color: #000;
+  background-color: #fff; }
+  iconview:backdrop {
+    color: #000;
+    background-color: #fff; }
+
 .rubberband,
 rubberband,
 flowbox rubberband,
@@ -2007,7 +2014,7 @@ levelbar block.empty {
 textview text selection, textview text selection:focus, textview text selection:hover,
 .view selection,
 .view selection:focus,
-.view selection:hover, flowbox flowboxchild:selected, label selection, label selection:focus, label selection:hover, label selection:backdrop, entry selection
+.view selection:hover, iconview:selected, iconview:selected:focus, flowbox flowboxchild:selected, label selection, label selection:focus, label selection:hover, label selection:backdrop, entry selection
 entry selection:focus, spinbutton selection
 entry selection:focus, entry selection
 spinbutton selection:focus, spinbutton selection
@@ -2018,7 +2025,7 @@ spinbutton selection:focus, modelbutton.flat:hover, modelbutton.flat:selected,
   color: #fff;
   outline-color: rgba(255, 255, 255, 0.3); }
   textview text selection:backdrop,
-  .view selection:backdrop, flowbox flowboxchild:backdrop:selected, label selection:backdrop, entry selection
+  .view selection:backdrop, iconview:backdrop:selected, flowbox flowboxchild:backdrop:selected, label selection:backdrop, entry selection
   entry selection:backdrop:focus, spinbutton selection
   entry selection:backdrop:focus, entry selection
   spinbutton selection:backdrop:focus, spinbutton selection